package com.macro.mall.tiny.modules.oms.mapper;


import com.macro.mall.tiny.modules.basic.model.OrderIncreaseData;
import com.macro.mall.tiny.modules.oms.model.OmsOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author tyrone
 * @since 2024-10-25
 */
public interface OmsOrderMapper extends BaseMapper<OmsOrder> {

    OrderIncreaseData countBasicOrderData();

    List<Map<String, Object>> countDailyOrderNum(Date startDate, Date endDate);

    List<Map<String, Object>> countDailyOrderIncome(Date startDate, Date endDate, Integer status);

    List<Map<String, Object>> getVipDailyIncreaseData(Date startDate, Date endDate);
}
